package com.agan.jvm.test01.lesson08;
/**
 * @author 阿甘
 * @see https://study.163.com/course/introduction/1211562809.htm?share=1&shareId=1028852228
 * @version 1.0
 * 注：如有任何疑问,欢迎加阿甘老师微信agan-java 进行讨论
 */
public class Hello {

    public static void main(String[] args){
        ClassLoader loader = Hello.class.getClassLoader();
        ClassLoader parent = loader.getParent();
        ClassLoader parent1 = parent.getParent();
        System.out.println("加载器:" + loader);
        System.out.println("父类加载器:" + parent);
        System.out.println("爷爷加载器:" + parent1);
    }
}
